let fs = require('fs');

let url  = __dirname+"/3.txt";

let res = fs.existsSync(url);

console.log(res);